package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Family;
import cn.wolfcode.crm.query.QueryForObject;

import java.util.List;

public interface FamilyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Family record);

    Family selectByPrimaryKey(Long id);

    List<Family> selectAll();

    int updateByPrimaryKey(Family record);

    List<Family> queryByEmpId(Long empId);

    int queryForCount(QueryForObject qo);

    List<Family> queryForList(QueryForObject qo);
}